

-ReBarDll.Dll
This library exports three functions:

1) LoadCommonControls
   This function has no parameters, it is just needed to load the Comctl32.dll
   library and the rebarwindow32 control

2) CreateReBarControl(
    HWND (DWORD): Handle of the parent window 
    WIDTH (DWORD): Width of the Rebar control 
    HEIGHT (DWORD): Height of the Rebar control 
    VERTICAL (DWORD): TRUE/FALSE, sets the Rebar control in a vertical state
    HINSTANCE (DWORD): handle to application instance
    )
  This function returns the handle of the Rebar control but it isn't needed
  because already stored by the Dll

3) CreateReBarBand(
    HWND (DWORD): Handle of the control you want to insert in the rebar band
                  ex: combo boxes, toolbars, etc... *
    HWND (DWORD): Handle of the bitmap you want to place in back ground *
    LPCTSTR (DWORD): Pointer to a text *
    BRKLINE (DWORD): TRUE/FALSE, sets the brake line
    MOVABLE (DWORD): TRUE/FALSE, sets if the band is moveable or not
    )

* if you don't want to use this options just set them to NULL

If you put a toolbar in the RebarControl, remember to refresh it, otherwise
you may find some problems.
This Dll was tested under win9x, in Visual Basic 5.0  and  Masm



 ---------------------------------------------------------------------------------
*This is not the final relase, so there could be some bugs.                       *
*This code is provided with no warranty of any kind. You can use it in any form,  *
*and of course modify / improve it, but please mention                            *
 ---------------------------------------------------------------------------------

For any bug, question, comment, fell fre to contact me
e-mail: marcosc@newmail.net